package cn.com.majiang.dao;


import cn.com.majiang.domain.Resources;

import java.util.List;
import java.util.Map;

public interface ResourcesDao {
    int deleteByPrimaryKey(Integer id);

    int save(Resources record);

    int saveSelective(Resources record);

    Resources selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Resources record);

    int updateByPrimaryKey(Resources record);
    
    List<Resources> selectMenus(Map<String, Integer> map);

    Resources getResourcesByPowerId(Integer powerId );
}